package com.bokee.archerwq.lab.oracletest;

public class Main {
	public static void main(String[] args) {
		System.out.println(new Item());
	}
}

abstract class Thing {
	static int count = -1;

	abstract int getCount();

	@Override
	public String toString() {
		return getClass().getName() + getCount();
	}
}

class Item extends Thing {
	static int count = 0;

	@Override
	int getCount() {
		return count;
	}

	Item() {
		count++;
	}
}